#pragma once

#include "Value.h"

namespace pb { namespace cfg {

    class Config;

    class StrValue : public Value
    {
        friend class Config;

    private:
        StrValue(Config*, const std::string&);
        virtual ~StrValue();

    private:
        virtual bool loadData(std::fstream&);
        virtual void saveData(std::fstream&);

        const std::string& data() const;
        void data(const std::string&);

    private:
        std::string m_data;
    };

}}